<template>
  <div class="follow paddingTop">
    
	  <div class="follow__list">
	        <hq-cell
	          v-for="(item,index) of follow"
	          :key="item._id"
	          :index="index"
	          :data="item"
	          :to="`/detail/${item._id}?collectionName=follow`"
	        />
	      </div>
  </div>
</template>

<script>
	
  import HqCell from '../components/hq-cell/hq-cell.vue'
  
  export default {
    data(){
      return {
        banner:[],
        follow:[]
      }
    },
    components:{HqCell},
	mounted(){
	  this.$axios({
	  // axios({
	    url:'/news/follow',
	    params:{
	      _limit: 5
	    },
	  }).then(
			// res=>{console.log(res)}
	    res=>this.follow=res.data.data
	  )}
	   
  }
</script>

<style scoped>
  .follow__list{
    padding: 0 .2rem;
  }

</style>
